/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.science_meeting.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 举办学术会议Entity
 * @author hang
 * @version 2017-01-14
 */
public class TbScienceMeeting extends DataEntity<TbScienceMeeting> {
	
	private static final long serialVersionUID = 1L;
	private String meetingNamne;		// 会议名称
	private String subject;		// 所属学科
	private String ifInterMeeting;		// 是否国际会议
	private Date meetingTime;		// 会议时间
	private String sponsor;		// 举办单位
	private String memberNum;		// 参会总人数
	private String foreignMemNum;		// 外籍参会人数
	private String remark;		// 备注
	private String material;		// 证明材料
	private String meetingReport;		// 会议报道
	private Date createTime;		// 创建时间
	private Date updateTime;		// 更新时间
	
	public TbScienceMeeting() {
		super();
	}

	public TbScienceMeeting(String id){
		super(id);
	}

	@Length(min=0, max=64, message="会议名称长度必须介于 0 和 64 之间")
	public String getMeetingNamne() {
		return meetingNamne;
	}

	public void setMeetingNamne(String meetingNamne) {
		this.meetingNamne = meetingNamne;
	}
	
	@Length(min=0, max=64, message="所属学科长度必须介于 0 和 64 之间")
	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}
	
	@Length(min=0, max=64, message="是否国际会议长度必须介于 0 和 64 之间")
	public String getIfInterMeeting() {
		return ifInterMeeting;
	}

	public void setIfInterMeeting(String ifInterMeeting) {
		this.ifInterMeeting = ifInterMeeting;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getMeetingTime() {
		return meetingTime;
	}

	public void setMeetingTime(Date meetingTime) {
		this.meetingTime = meetingTime;
	}
	
	@Length(min=0, max=64, message="举办单位长度必须介于 0 和 64 之间")
	public String getSponsor() {
		return sponsor;
	}

	public void setSponsor(String sponsor) {
		this.sponsor = sponsor;
	}
	
	@Length(min=0, max=64, message="参会总人数长度必须介于 0 和 64 之间")
	public String getMemberNum() {
		return memberNum;
	}

	public void setMemberNum(String memberNum) {
		this.memberNum = memberNum;
	}
	
	@Length(min=0, max=64, message="外籍参会人数长度必须介于 0 和 64 之间")
	public String getForeignMemNum() {
		return foreignMemNum;
	}

	public void setForeignMemNum(String foreignMemNum) {
		this.foreignMemNum = foreignMemNum;
	}
	
	@Length(min=0, max=200, message="备注长度必须介于 0 和 200 之间")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@Length(min=0, max=200, message="证明材料长度必须介于 0 和 200 之间")
	public String getMaterial() {
		return material;
	}

	public void setMaterial(String material) {
		this.material = material;
	}
	
	@Length(min=0, max=500, message="会议报道长度必须介于 0 和 500 之间")
	public String getMeetingReport() {
		return meetingReport;
	}

	public void setMeetingReport(String meetingReport) {
		this.meetingReport = meetingReport;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}